from rest_framework import serializers
class ding_serializers(serializers.Serializer):
    id = serializers.CharField(max_length=250)
    riqi = serializers.CharField(max_length=250)
    danhao = serializers.CharField(max_length=250)
    show_user = serializers.CharField(max_length=250)
    price = serializers.CharField(max_length=250)
    img = serializers.ImageField()


class dingxiang_serializers(serializers.Serializer):
    id = serializers.CharField(max_length=250)
    name = serializers.CharField(max_length=250)
    count = serializers.CharField(max_length=250)
    img = serializers.ImageField()

class goods_serializers(serializers.Serializer):
    id = serializers.CharField(max_length=250)
    img = serializers.ImageField()
    name = serializers.CharField(max_length=250)
    price = serializers.CharField(max_length=250)
    count = serializers.CharField(max_length=250)

class user_serializers(serializers.Serializer):
    id = serializers.CharField(max_length=250)
    name = serializers.CharField(max_length=250)








